package business.ddz.c2s.iclass;

import jsproto.c2s.cclass.BaseSendMsg;

import java.util.ArrayList;

/**
 * 接收客户端数据
 *
 * @author zaf
 */

public class CDDZ_OpCard extends BaseSendMsg {

    public long roomID;
    public int pos;  //位置
    public int opCardType;  //PDK_CARD_TYPE 操作类型及牌的类型
    public ArrayList<Integer> cardList;
    public int daiNum;//带几张牌
    public boolean isFlash = false;

    public static CDDZ_OpCard make(long roomID, int pos, int opCardType, ArrayList<Integer> cardList, int daiNum,boolean isFlash) {
        CDDZ_OpCard ret = new CDDZ_OpCard();
        ret.roomID = roomID;
        ret.pos = pos;
        ret.opCardType = opCardType;
        ret.cardList = cardList;
        ret.daiNum = daiNum;
        ret.isFlash = isFlash;
        return ret;
    }
}
